﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdvCMS.Data
{
    public interface IAdvUser
    {
        int Id { get; set; }


        string Username { get; set; }

     

        string Email { get; set; }

        string Comment { get; set; }

        string Password { get; set; }

        string PasswordQuestion { get; set; }

        string PasswordAnswer { get; set; }

        bool IsApproved { get; set; }

        System.Nullable<System.DateTime> LastActivityDate { get; set; }

        System.Nullable<System.DateTime> LastLoginDate { get; set; }

        System.Nullable<System.DateTime> LastPasswordChangedDate {get;set;}

        System.Nullable<System.DateTime> CreationDate { get; set; }

        System.Nullable<bool> IsOnLine { get; set; }

        bool IsLockedOut { get; set; }

        System.Nullable<System.DateTime> LastLockedOutDate { get; set; }

        System.Nullable<int> FailedPasswordAttemptCount { get; set; }

        System.Nullable<System.DateTime> FailedPasswordAttemptWindowStart { get; set; }

        System.Nullable<int> FailedPasswordAnswerAttemptCount { get; set; }

        System.Nullable<System.DateTime> FailedPasswordAnswerAttemptWindowStart { get; set; }

        System.Nullable<System.Guid> SessionKey { get; set; }

        System.Nullable<System.DateTime> KeyExpireDate { get; set; }
    }
}
